home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / extw-Xlib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-29  |  1.4 KB  |  50 lines

  1. /*
  2. This library is free software; you can redistribute it and/or
  3. modify it under the terms of the GNU Library General Public
  4. License as published by the Free Software Foundation; either
  5. version 2 of the License, or (at your option) any later version.
  6.  
  7. This library is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  10. Library General Public License for more details.
  11.  
  12. You should have received a copy of the GNU Library General Public
  13. License along with this library; if not, write to the Free
  14. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  15.  
  16. /* Synched up with: Not in FSF. */
  17.  
  18. #ifndef _EXTW_XLIB_H_
  19. #define _EXTW_XLIB_H_
  20.  
  21. #define extw_shell_send 0
  22. #define extw_client_send 1
  23.  
  24. typedef enum {
  25.   extw_notify_init,
  26.   extw_notify_end,
  27.   extw_notify_qg,
  28.   extw_notify_gm,
  29.   extw_notify_set_focus,
  30.   extw_notify_focus_in,
  31.   extw_notify_focus_out
  32. } en_extw_notify;
  33.  
  34. extern Atom a_EXTW_QUERY_GEOMETRY, a_EXTW_GEOMETRY_MANAGER,
  35.      a_EXTW_WIDGET_GEOMETRY, a_EXTW_NOTIFY;
  36. extern int extw_which_side;
  37.  
  38. typedef enum {
  39.   EXTW_TYPE_NONE,
  40.   EXTW_TYPE_XLIB,
  41.   EXTW_TYPE_XT,
  42.   EXTW_TYPE_MOTIF
  43. } en_extw_type;
  44.  
  45. void extw_initialize_atoms(Display *display);
  46. void extw_send_notify_3(Display *display, Window win, en_extw_notify type,
  47.             long data0, long data1, long data2);
  48.  
  49. #endif /* _EXTW_XLIB_H_ */
  50.